import java.util.*;


import javax.swing.text.html.HTMLDocument.Iterator;

public class SampleArrays {
	public static void main(String[] args) {
		ArrayList<Integer> integ = new ArrayList<Integer>();
		integ.add(1);
		integ.add(2);
		integ.add(3);
		java.util.Iterator<Integer> iter = integ.iterator();
		while (iter.hasNext()){
			Integer curr= iter.next(); 
			System.out.println(curr+10);
		}
		System.out.println(integ);
	}
}
